package com.soul.sys.bean.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 登录用户信息
 * @author Shiws
 * @version 1.0
 * @date 2023/9/6 18:02
 */
@Data
@ApiModel("登录用户信息")
public class UserInfoVo {

    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("用户名")
    private String username;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("手机号")
    private String phone;

    @ApiModelProperty("邮箱")
    private String email;

    @ApiModelProperty("用户类型")
    private String userType;

    @ApiModelProperty("头像")
    private String headPortrait;

    @ApiModelProperty("年龄")
    private Integer age;

    @ApiModelProperty("性别")
    private Byte sex;

    @ApiModelProperty("地区")
    private Long region;

    @ApiModelProperty("个性签名")
    private String signature;

    @ApiModelProperty("生日")
    private String birthday;
    @ApiModelProperty("头像")
    private String avatar;


    @ApiModelProperty("角色列表")
    private List<String> roles;


}
